package com.showcai.service;


import com.showcai.module.CertificateUsableRange;
import com.showcai.myRunTime.MyRunTimeExcption;

import java.util.List;

/**
 * Created by zpc on 2017/7/11.
 */
public interface CertificateUsableRangeService {

    /**
     * classifyId获取卡券使用范围
     *
     * @param classifyId
     * @return
     */
    List<CertificateUsableRange> getCertificateUsableRangeListByClassifyId(Long classifyId) throws MyRunTimeExcption;

    /**
     * 修改卡券使用范围
     *
     * @param certificateUsableRange
     * @return
     */
    CertificateUsableRange modifyCertificateUsableRange(CertificateUsableRange certificateUsableRange) throws MyRunTimeExcption;


}
